package com.sino.operation.peripheral.esc.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName LocalHead
 * @Description TOD
 * @Author 北陈
 * @Date 2021/9/27 14:28
 * @Version 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "走esc的本地请求头")
public class LocalHead {

    @JsonProperty("req_tenant")
    @ApiModelProperty(value = "消费方租户",name = "req_tenant")
    private String reqTenant;

    @JsonProperty("req_part_id")
    @ApiModelProperty(value = "消费方参与id",name = "req_part_id")
    private String reqPartId;

    @JsonProperty("req_part_version")
    @ApiModelProperty(value = "消费方参与者版本",name = "req_part_version")
    private String reqPartVersion;

    @JsonProperty("req_part_inst")
    @ApiModelProperty(value = "消费方参与者实例",name = "req_part_inst")
    private String reqPartInst;

    @JsonProperty("req_token")
    @ApiModelProperty(value = "消费方令牌",name = "req_token")
    private String reqToken;

    @JsonProperty("res_tran_date")
    @ApiModelProperty(value = "服务方交易日期",name = "res_tran_date")
    private String resTranDate;

    @JsonProperty("res_tran_time")
    @ApiModelProperty(value = "服务方交易时间",name = "res_tran_time")
    private String resTranTime;

    @JsonProperty("svc_ver_no")
    @ApiModelProperty(value = "服务方版本号",name = "svc_ver_no")
    private String svcVerNo;

    @JsonProperty("svc_tran_no")
    @ApiModelProperty(value = "服务方交易码",name = "svc_tran_no")
    private String svcTranNo;

    @JsonProperty("legel_org_id")
    @ApiModelProperty(value = "法人代码",name = "legel_org_id")
    private String legelOrgId;

}
